using System;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 子行的子行
    /// </summary>
    public class BuyerScarletInformationFormDetailChild : BaseLine
    {
        /// <summary>
        /// 外键
        /// 主表的子表的ID
        /// </summary>
        public Guid? BuyerScarletInformationFormDetailId { get; set; }

        /// <summary>
        /// 货物(劳务)名称
        /// </summary>
        public string ItemOrServiceName { get; set; }

        /// <summary>
        /// 税收分类编码
        /// </summary>
        public string TaxClassificationCode { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public decimal? Number { get; set; }

        /// <summary>
        /// 单价(未税)
        /// </summary>
        public decimal? UnitPriceNoTax { get; set; }

        /// <summary>
        /// 金额(未税)
        /// </summary>
        public decimal? AmountNoTax { get; set; }

        /// <summary>
        /// 税率
        /// </summary>
        public decimal? TaxRate { get; set; }

        /// <summary>
        /// 税额
        /// </summary>
        public decimal? Tax { get; set; }

        /// <summary>
        /// 是否为总计行
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public bool IsTotalRow { get; set; }
    }
}